package com.fzz.learning_forum.domain;

import java.util.Date;

public class Comment {

    private Integer id;
    private String reviewer;
    private String content;
    private Date created;
    private Integer user_id;
    private Integer article_id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getReviewer() {
        return reviewer;
    }

    public void setReviewer(String reviewer) {
        this.reviewer = reviewer;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getArticle_id() {
        return article_id;
    }

    public void setArticle_id(Integer article_id) {
        this.article_id = article_id;
    }


    @Override
    public String toString() {
        return "Comment{" +
                "id=" + id +
                ", reviewer='" + reviewer + '\'' +
                ", content='" + content + '\'' +
                ", created=" + created +
                ", user_id=" + user_id +
                ", article_id=" + article_id +
                '}';
    }
}
